
<%@ page import="kioscodeal.User" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'user.label', default: 'User')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-user" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-user" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list user">
			
				<g:if test="${userInstance?.login}">
				<li class="fieldcontain">
					<span id="login-label" class="property-label"><g:message code="user.login.label" default="Login" /></span>
					
						<span class="property-value" aria-labelledby="login-label"><g:fieldValue bean="${userInstance}" field="login"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.password}">
				<li class="fieldcontain">
					<span id="password-label" class="property-label"><g:message code="user.password.label" default="Password" /></span>
					
						<span class="property-value" aria-labelledby="password-label"><g:fieldValue bean="${userInstance}" field="password"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.role}">
				<li class="fieldcontain">
					<span id="role-label" class="property-label"><g:message code="user.role.label" default="Role" /></span>
					
						<span class="property-value" aria-labelledby="role-label"><g:fieldValue bean="${userInstance}" field="role"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.nombre}">
				<li class="fieldcontain">
					<span id="nombre-label" class="property-label"><g:message code="user.nombre.label" default="Nombre" /></span>
					
						<span class="property-value" aria-labelledby="nombre-label"><g:fieldValue bean="${userInstance}" field="nombre"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.apellido}">
				<li class="fieldcontain">
					<span id="apellido-label" class="property-label"><g:message code="user.apellido.label" default="Apellido" /></span>
					
						<span class="property-value" aria-labelledby="apellido-label"><g:fieldValue bean="${userInstance}" field="apellido"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.calle}">
				<li class="fieldcontain">
					<span id="calle-label" class="property-label"><g:message code="user.calle.label" default="Calle" /></span>
					
						<span class="property-value" aria-labelledby="calle-label"><g:fieldValue bean="${userInstance}" field="calle"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.numeroDireccion}">
				<li class="fieldcontain">
					<span id="numeroDireccion-label" class="property-label"><g:message code="user.numeroDireccion.label" default="Numero Direccion" /></span>
					
						<span class="property-value" aria-labelledby="numeroDireccion-label"><g:fieldValue bean="${userInstance}" field="numeroDireccion"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.dni}">
				<li class="fieldcontain">
					<span id="dni-label" class="property-label"><g:message code="user.dni.label" default="Dni" /></span>
					
						<span class="property-value" aria-labelledby="dni-label"><g:fieldValue bean="${userInstance}" field="dni"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.telefonoFijo}">
				<li class="fieldcontain">
					<span id="telefonoFijo-label" class="property-label"><g:message code="user.telefonoFijo.label" default="Telefono Fijo" /></span>
					
						<span class="property-value" aria-labelledby="telefonoFijo-label"><g:fieldValue bean="${userInstance}" field="telefonoFijo"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.mail}">
				<li class="fieldcontain">
					<span id="mail-label" class="property-label"><g:message code="user.mail.label" default="Mail" /></span>
					
						<span class="property-value" aria-labelledby="mail-label"><g:fieldValue bean="${userInstance}" field="mail"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.minimoCompra}">
				<li class="fieldcontain">
					<span id="minimoCompra-label" class="property-label"><g:message code="user.minimoCompra.label" default="Minimo Compra" /></span>
					
						<span class="property-value" aria-labelledby="minimoCompra-label"><g:fieldValue bean="${userInstance}" field="minimoCompra"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.codigoPostal}">
				<li class="fieldcontain">
					<span id="codigoPostal-label" class="property-label"><g:message code="user.codigoPostal.label" default="Codigo Postal" /></span>
					
						<span class="property-value" aria-labelledby="codigoPostal-label"><g:fieldValue bean="${userInstance}" field="codigoPostal"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.edad}">
				<li class="fieldcontain">
					<span id="edad-label" class="property-label"><g:message code="user.edad.label" default="Edad" /></span>
					
						<span class="property-value" aria-labelledby="edad-label"><g:fieldValue bean="${userInstance}" field="edad"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.estado}">
				<li class="fieldcontain">
					<span id="estado-label" class="property-label"><g:message code="user.estado.label" default="Estado" /></span>
					
						<span class="property-value" aria-labelledby="estado-label"><g:fieldValue bean="${userInstance}" field="estado"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.fechaNacimiento}">
				<li class="fieldcontain">
					<span id="fechaNacimiento-label" class="property-label"><g:message code="user.fechaNacimiento.label" default="Fecha Nacimiento" /></span>
					
						<span class="property-value" aria-labelledby="fechaNacimiento-label"><g:formatDate date="${userInstance?.fechaNacimiento}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.numeroDepartamento}">
				<li class="fieldcontain">
					<span id="numeroDepartamento-label" class="property-label"><g:message code="user.numeroDepartamento.label" default="Numero Departamento" /></span>
					
						<span class="property-value" aria-labelledby="numeroDepartamento-label"><g:fieldValue bean="${userInstance}" field="numeroDepartamento"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.piso}">
				<li class="fieldcontain">
					<span id="piso-label" class="property-label"><g:message code="user.piso.label" default="Piso" /></span>
					
						<span class="property-value" aria-labelledby="piso-label"><g:fieldValue bean="${userInstance}" field="piso"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${userInstance?.telefonoMovil}">
				<li class="fieldcontain">
					<span id="telefonoMovil-label" class="property-label"><g:message code="user.telefonoMovil.label" default="Telefono Movil" /></span>
					
						<span class="property-value" aria-labelledby="telefonoMovil-label"><g:fieldValue bean="${userInstance}" field="telefonoMovil"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${userInstance?.id}" />
					<g:link class="edit" action="edit" id="${userInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
